$OpenBSD: patch-lib_silcske_silcske_c,v 1.1 2010/07/31 12:43:25 sthen Exp $
--- lib/silcske/silcske.c.orig	Sat May 29 19:00:50 2010
+++ lib/silcske/silcske.c	Sat May 29 19:01:32 2010
@@ -2387,6 +2387,8 @@ SILC_FSM_STATE(silc_ske_st_responder_failure)
     ske->packet = NULL;
   }
   ske->status = error;
+  if (ske->status == SILC_SKE_STATUS_OK)
+    ske->status = SILC_SKE_STATUS_ERROR;
 
   silc_packet_stream_unlink(ske->stream, &silc_ske_stream_cbs, ske);
   silc_schedule_task_del_by_context(ske->schedule, ske);
